
<!-- form start -->
<form class="form-horizontal" action="{{url('admin/cate')}}" method="post" id="myform">
 <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
  <div class="box-body">
    <div class="form-group">
      <label for="inputEmail3" class="col-sm-2 control-label" name="pid">父类名称</label>
      <div class="col-sm-4">
        <input type="text" name="name" class="form-control" id="inputEmail3" placeholder="请输入名称">
      </div>
    </div>
    <div class="form-group">
      <label for="inputPassword3" class="col-sm-2 control-label">父级分类</label>
      <div class="col-sm-4">
        
        <select class="small" name="pid">    
            <option value="0">请选择</option>
            @foreach($list as $v)
            <option value="{{$v->id}}">{{$v->name}}</option>
            @endforeach
        </select>

      </div>
    </div>

    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <div class="checkbox">
         <div class="mws-form-item clearfix">

            <input type="radio" name="status" value="1" checked="checked" > 激活 &nbsp;&nbsp;&nbsp;
            <input type="radio" name="status" value="0" > 禁止

          </div>
        </div>
      </div>

    </div>

  </div><!-- /.box-body -->
 
</form>
				
